import request from '@/utils/request'

// 用户登录
export function login(usernameOrMailOrPhone, password) {
	const data = {
		usernameOrMailOrPhone,
		password
	}
	return request({
		url: '/user-service/v1/login',
		headers: {
			isToken: false,
			repeatSubmit: false
		},
		method: 'post',
		data
	})
}